/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bang;
import poo.bang.cards.CartaGame;

/**
 *
 * @author Capucho
 */
public class Baralho {
    private Pilha baralho;
    
    public void setBaralho(Pilha p){
        this.baralho=p;
        
    }
    
    public Pilha getBaralho(){
        return baralho;
    }
    
    public CartaGame pegaCartaTopo(){
        
        No aux;
        
        aux=baralho.getTopoRemove();
        
        return aux.getCard();   
        
    }
    
}
